#ifndef	__gh_usrdef_h
#define	__gh_usrdef_h

#include <stdio.h>

#ifdef _DEBUG
    #include <stdio.h>
    #include <errno.h>
    
    #define DBGPRINTF       fprintf(stdout, "\n%18s %17s %04d ",\
        __FILE__, __func__, __LINE__), printf
    #define DBGPERROR      fprintf(stdout, "\n%18s %17s %04d %s",\
        __FILE__, __func__, __LINE__, strerror(errno)), printf
#else 
    #define DBGPRINTF(...)      
    #define DBGPERROR(...)      
#endif

#endif

